/**
 * 
 */
package co.edu.udem.dao;

import java.util.Date;
import java.util.List;

import co.edu.udem.domain.Subject;
import co.edu.udem.domain.UserSubject;

/**
 * @since 29/07/2012
 */
public interface SubjectDao {
  
  List<Object[]> getObjectList(Date serviceDate, String[][] orderBy, Object... params);
  
  List<Subject> getSubjectListByTeacherCode(String teacherCode);
  
  void addSubject(Subject subject);
  
  UserSubject getSubjectDetailsByUser(String userCode, int userType, String subjectCode);
  
  Subject getSubjectById(String subjectCode);
  
  void delete(String subjectCode);

}
